package com.kcwl.carrier.domain.repository;

import com.kcwl.carrier.domain.entity.OperateLog;
import com.kcwl.carrier.infrastructure.repository.po.OperateLogPO;
import com.kcwl.carrier.interfaces.query.OperateLogQuery;
import com.kcwl.ddd.domain.entity.KcPage;
import com.kcwl.ddd.domain.repository.IBaseRepository;

import java.util.List;

/**
 * @author 刘旭超
 * @date 2022年11月21日 17:09
 * @Description
 */
public interface IOperateLogRepository extends IBaseRepository<OperateLogPO> {

    /**
     * 查询日志
     */
    List<OperateLog> queryLog(OperateLogQuery operateLogQuery);

    /**
     * 添加日志
     */
    int insertLog(OperateLog operateLog);
}
